package com.xlh.dao.course.ext;

import com.xlh.pojo.course.ResourceAuthority;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ResourceAuthorityMapperExt {

    /**
     * 批量添加/编辑章节资源权限
     *
     * @param resourceAuthorities 添加/修改对象
     * @param type                类型
     */
    void insertBatch(@Param("resourceAuthorities") List<ResourceAuthority> resourceAuthorities,
                     @Param("type") Integer type);

}